<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul>
    <li th:text="${session.SPRING_SECURITY_CONTEXT.authentication.principal.id}"></li>
    <li th:text="${session.SPRING_SECURITY_CONTEXT.authentication.principal.username}"></li>
    <li th:text="${session.SPRING_SECURITY_CONTEXT.authentication.principal.password}"></li>
    <li th:text="${session.SPRING_SECURITY_CONTEXT.authentication.principal.email}"></li>
    <li th:text="${session.SPRING_SECURITY_CONTEXT.authentication.principal.avatar}"></li>
</ul>
</body>
</html>